package day8.lambda.demo2;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Student {
    private  String name;
    private  int age;
    private  char sex;
    public static int test(Student o1,Student O2)
    {
       return O2.getAge()-o1.getAge();
    }
}
